home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 176-200 / disk_179 / unixutil / head.doc < prev    next >
Text File  |  1992-05-06  |  960b  |  42 lines

  1. HEAD                USER COMMANDS            HEAD
  2.  
  3.  
  4.  
  5. NAME
  6.     head - display first few lines of specified files
  7.  
  8. SYNOPSIS
  9.     head [ -n ] [ filename ...]
  10.  
  11. DESCRIPTION
  12.     head copies the first n lines of each filename to the  stan-
  13.     dard  output.   If  no  filename is given, head copies lines
  14.     from the standard input.  The  default  value  of  n  is  10
  15.     lines.
  16.  
  17.     When more than one file is specified, head places  a  marker
  18.     at the start of each file which looks like:
  19.  
  20.     ==> filename <==
  21.  
  22.     Thus, a common way to display a set of short files,  identi-
  23.     fying each one, is:
  24.          gaia%  head  -9999  file1  file2 . . .
  25.  
  26. EXAMPLE
  27.     ia% head -4 head.doc tail.doc
  28.     ==> head.doc <==
  29.     .TH HEAD 1 "24 August 1983"
  30.     .SH NAME
  31.     head - display first few lines of specified files
  32.     .SH SYNOPSIS
  33.  
  34.     ==> tail.doc <==
  35.     .TH TAIL 1  "27 April 1983"
  36.     .SH NAME
  37.     tail - display the last part of a file
  38.     .SH SYNOPSIS
  39.  
  40. SEE ALSO
  41.     tail
  42.